home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / System / Goodies / CDiagnosticChore.c < prev    next >
Text File  |  1990-11-18  |  378b  |  15 lines

  1. /*    CDiagnosticChore - a diagnostic-printing chore. */
  2.  
  3. #include <TCL>
  4. #include "GLOBAL.h"
  5. #include "CDiagnosticChore.h"
  6. #include "CMIDI.h"
  7. #include "CDiagnostic.h"
  8.  
  9. OVERRIDE void CDiagnosticChore::Perform(long *maxSleep)
  10. {
  11.     gMIDI->StatusCheck();            /*    Make sure the MIDI module's tucked in. */
  12.     g_UpdateDiags();                /*    in CDiagnostic. */
  13.     *maxSleep = 6L;                    /*    0.1 sec max. */
  14. }
  15.